[INFO] cloning repository https://github.com/mbyamaguchi/hic-200-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbyamaguchi/hic-200-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbyamaguchi%2Fhic-200-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbyamaguchi%2Fhic-200-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e21a470708b1f9848c27d421bad39c0bffe6c687
[INFO] fixing mbyamaguchi/hic-200-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbyamaguchi%2Fhic-200-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mbyamaguchi/hic-200-rs
[INFO] finished tweaking git repo https://github.com/mbyamaguchi/hic-200-rs
[INFO] tweaked toml for git repo https://github.com/mbyamaguchi/hic-200-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mbyamaguchi/hic-200-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mbyamaguchi/hic-200-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded either v1.16.0
[INFO] [stderr]   Downloaded noodles v0.110.0
[INFO] [stderr]   Downloaded rayon v1.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0
[INFO] running `Command { std: "docker" "start" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking noodles v0.110.0
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking hic-200-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `:`
[INFO] [stdout]   --> src/core/bindef.rs:53:71
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let [_, chrom, position, _, length_after] = fields.as_slice()[:5] else {
[INFO] [stdout]    |                                                                       ^ expected expression
[INFO] [stdout]    |
[INFO] [stdout] help: maybe write a path separator here
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let [_, chrom, position, _, length_after] = fields.as_slice()[::5] else {
[INFO] [stdout]    |                                                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `:`
[INFO] [stdout]   --> src/core/bindef.rs:53:71
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let [_, chrom, position, _, length_after] = fields.as_slice()[:5] else {
[INFO] [stdout]    |                                                                       ^ expected expression
[INFO] [stdout]    |
[INFO] [stdout] help: maybe write a path separator here
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let [_, chrom, position, _, length_after] = fields.as_slice()[::5] else {
[INFO] [stdout]    |                                                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `clap::ArgEnum`
[INFO] [stdout]  --> src/core/bindef.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |                                ^^^^^^^ no `ArgEnum` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fs::BufReader`
[INFO] [stdout]  --> src/core/dump_to_sort.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{BufReader, File};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufReader` in `fs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::io::BufReader
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fs::BufReader`
[INFO] [stdout]  --> src/core/read_and_dump.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{BufReader, File};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufReader` in `fs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::io::BufReader
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `subprocess`
[INFO] [stdout]  --> src/core/dump_to_sort.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use subprocess::Command;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `subprocess`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `subprocess`, use `cargo add subprocess` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/core/bindef.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Parser)]
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/core/bindef.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/core/bindef.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[clap(
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `clap::ArgEnum`
[INFO] [stdout]  --> src/core/bindef.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |                                ^^^^^^^ no `ArgEnum` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fs::BufReader`
[INFO] [stdout]  --> src/core/dump_to_sort.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{BufReader, File};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufReader` in `fs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::io::BufReader
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fs::BufReader`
[INFO] [stdout]  --> src/core/read_and_dump.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{BufReader, File};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufReader` in `fs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           std::io::BufReader
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `subprocess`
[INFO] [stdout]  --> src/core/dump_to_sort.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use subprocess::Command;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `subprocess`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `subprocess`, use `cargo add subprocess` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/core/bindef.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Parser)]
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/core/bindef.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Debug, Parser)]
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/core/dump_to_sort.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/core/bindef.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[clap(
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:74:3
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[clap(
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 86 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:88:7
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[derive(Debug, Parser)]
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/core/dump_to_sort.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use clap::Parser;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 | #[derive(Parser)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/core/read_and_dump.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout]   1 | use clap::Parser;
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:74:3
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[clap(
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:122:3
[INFO] [stdout]     |
[INFO] [stdout] 122 | #[clap(
[INFO] [stdout]     |   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:130:7
[INFO] [stdout]     |
[INFO] [stdout] 130 |     #[clap(short, long)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 86 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Parser)]
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:88:7
[INFO] [stdout]    |
[INFO] [stdout] 88 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[clap(
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 | #[derive(Parser)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/core/read_and_dump.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout]   1 | use clap::Parser;
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:122:3
[INFO] [stdout]     |
[INFO] [stdout] 122 | #[clap(
[INFO] [stdout]     |   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:130:7
[INFO] [stdout]     |
[INFO] [stdout] 130 |     #[clap(short, long)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Parser)]
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[clap(
[INFO] [stdout]   |   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[clap(short, long)]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Map` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:32:75
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rayon::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Map` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut chrom_lengths: Map<String, usize> = HashMap::new();
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rayon::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:33:49
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut chrom_lengths: Map<String, usize> = HashMap::new();
[INFO] [stdout]    |                                                 ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Set` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:77:32
[INFO] [stdout]    |
[INFO] [stdout] 77 |         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `clap::ArgAction::Set`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 77 -         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout] 77 +         &target_chroms.parse::<clap::ArgAction>()?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `min` in this scope
[INFO] [stdout]    --> src/core/bindef.rs:97:27
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 let end = min(start + bin_size, chrom_length);
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     | ----------------------------------------------- similarly named function `main` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 let end = main(start + bin_size, chrom_length);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::cmp::min;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HashMap`
[INFO] [stdout]  --> src/core/read_and_dump.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut chr_meta = HashMap < String;
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:246:0
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:251:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HashMap` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/core/read_and_dump.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut chr_meta = HashMap < String;
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/string.rs:353:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]   |
[INFO] [stdout] 1 + use clap::error::ContextValue::String;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HashMap`
[INFO] [stdout]  --> src/core/read_and_dump.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HashMap < String;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:246:0
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:251:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HashMap` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/core/read_and_dump.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HashMap < String;
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/string.rs:353:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]   |
[INFO] [stdout] 1 + use clap::error::ContextValue::String;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found builtin type `usize`
[INFO] [stdout]   --> src/core/read_and_dump.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     usize >> ::new();
[INFO] [stdout]    |     ^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find crate `new` in the list of imported crates
[INFO] [stdout]   --> src/core/read_and_dump.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     usize >> ::new();
[INFO] [stdout]    |                ^^^ not found in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_bindef` in module `core::bindef`
[INFO] [stdout]   --> src/main.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     core::bindef::make_bindef(&cli.site_file, &bindefpath).unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in `core::bindef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_distance` in this scope
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         max_distance = 1_000_000,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let max_distance = 1_000_000,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `input_gz` in this scope
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         input_gz = &cli.inputpath,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let input_gz = &cli.inputpath,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `output_file` in this scope
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         output_file = &tmppairpath,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let output_file = &tmppairpath,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sortmemory` in this scope
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         sortmemory = "1G",
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let sortmemory = "1G",
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tmpdir` in this scope
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         tmpdir = &cli.tmpdir,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let tmpdir = &cli.tmpdir,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/core/bindef.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/bindef.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, BufRead, BufReader};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Map` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:32:75
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                           ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rayon::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Map` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut chrom_lengths: Map<String, usize> = HashMap::new();
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rayon::iter::Map;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:33:49
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut chrom_lengths: Map<String, usize> = HashMap::new();
[INFO] [stdout]    |                                                 ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Set` in this scope
[INFO] [stdout]   --> src/core/bindef.rs:77:32
[INFO] [stdout]    |
[INFO] [stdout] 77 |         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout]    |                                ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `clap::ArgAction::Set`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 77 -         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout] 77 +         &target_chroms.parse::<clap::ArgAction>()?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `min` in this scope
[INFO] [stdout]    --> src/core/bindef.rs:97:27
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 let end = min(start + bin_size, chrom_length);
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     | ----------------------------------------------- similarly named function `main` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 let end = main(start + bin_size, chrom_length);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::cmp::min;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HashMap`
[INFO] [stdout]  --> src/core/read_and_dump.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut chr_meta = HashMap < String;
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:246:0
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:251:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HashMap` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/core/read_and_dump.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut chr_meta = HashMap < String;
[INFO] [stdout]   |                                  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/string.rs:353:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]   |
[INFO] [stdout] 1 + use clap::error::ContextValue::String;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `HashMap`
[INFO] [stdout]  --> src/core/read_and_dump.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HashMap < String;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:246:0
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:251:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HashMap` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/core/read_and_dump.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HashMap < String;
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/alloc/src/string.rs:353:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]   |
[INFO] [stdout] 1 + use clap::error::ContextValue::String;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found builtin type `usize`
[INFO] [stdout]   --> src/core/read_and_dump.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     usize >> ::new();
[INFO] [stdout]    |     ^^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find crate `new` in the list of imported crates
[INFO] [stdout]   --> src/core/read_and_dump.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     usize >> ::new();
[INFO] [stdout]    |                ^^^ not found in the list of imported crates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_bindef` in module `core::bindef`
[INFO] [stdout]   --> src/main.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     core::bindef::make_bindef(&cli.site_file, &bindefpath).unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in `core::bindef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `max_distance` in this scope
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         max_distance = 1_000_000,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let max_distance = 1_000_000,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `input_gz` in this scope
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         input_gz = &cli.inputpath,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let input_gz = &cli.inputpath,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `output_file` in this scope
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         output_file = &tmppairpath,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let output_file = &tmppairpath,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sortmemory` in this scope
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         sortmemory = "1G",
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let sortmemory = "1G",
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tmpdir` in this scope
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         tmpdir = &cli.tmpdir,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let tmpdir = &cli.tmpdir,
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/core/bindef.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand, ArgEnum};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/core/bindef.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, BufRead, BufReader};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/bindef.rs:32:99
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/bindef.rs:72:100
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn bindef(bin_size: usize, chroms: &str, site_file: &str, output_file: &str) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn bindef(bin_size: usize, chroms: &str, site_file: &str, output_file: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> src/core/bindef.rs:108:29
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> src/core/dump_to_sort.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | ) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]   |
[INFO] [stdout] 8 | ) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/read_and_dump.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 | ) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 67 | ) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> src/core/read_and_dump.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/bindef.rs:32:99
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn read_chromosome_length(site_file: &str, target_chroms: &str) -> Result<Map<String, usize>, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/bindef.rs:72:100
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn bindef(bin_size: usize, chroms: &str, site_file: &str, output_file: &str) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                                                                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn bindef(bin_size: usize, chroms: &str, site_file: &str, output_file: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> src/core/bindef.rs:108:29
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> src/core/dump_to_sort.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | ) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]   |
[INFO] [stdout] 8 | ) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> src/core/read_and_dump.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 | ) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 67 | ) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> src/core/read_and_dump.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for struct `Vec<&str>` in the current scope
[INFO] [stdout]   --> src/core/bindef.rs:77:24
[INFO] [stdout]    |
[INFO] [stdout] 77 |         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout]    |                        ^^^^^ this is an associated function, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in the trait `Parser`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.6.0/src/derive.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn parse() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 77 -         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout] 77 +         &Vec<&str>::parse()?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `parse` found for struct `Vec<&str>` in the current scope
[INFO] [stdout]   --> src/core/bindef.rs:77:24
[INFO] [stdout]    |
[INFO] [stdout] 77 |         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout]    |                        ^^^^^ this is an associated function, not a method
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout] note: the candidate is defined in the trait `Parser`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.6.0/src/derive.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn parse() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 77 -         &target_chroms.parse::<Set<String>>()?,
[INFO] [stdout] 77 +         &Vec<&str>::parse()?,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `join` exists for struct `Vec<&&str>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/core/bindef.rs:80:116
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let missing = target_chroms.iter().filter(|chrom| !chrom_lengths.contains_key(*chrom)).collect::<Vec<&&str>>().join(", ");
[INFO] [stdout]    |                                                                                                                    ^^^^ method cannot be called on `Vec<&&str>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `[&&str]: Join<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `join` exists for struct `Vec<&&str>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/core/bindef.rs:80:116
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let missing = target_chroms.iter().filter(|chrom| !chrom_lengths.contains_key(*chrom)).collect::<Vec<&&str>>().join(", ");
[INFO] [stdout]    |                                                                                                                    ^^^^ method cannot be called on `Vec<&&str>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `[&&str]: Join<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/bindef.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     writeln!(output, "bin\tchr\tstart\tend")?;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/bindef.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     writeln!(output, "bin\tchr\tstart\tend")?;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/bindef.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     writeln!(output, "bin\tchr\tstart\tend")?;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/bindef.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |     writeln!(output, "bin\tchr\tstart\tend")?;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/bindef.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 writeln!(output, "{}\t{}\t{}\t{}", bin_id, chrom, start, end)?;
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/bindef.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 writeln!(output, "{}\t{}\t{}\t{}", bin_id, chrom, start, end)?;
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `bindef::Cli` in the current scope
[INFO] [stdout]    --> src/core/bindef.rs:109:20
[INFO] [stdout]     |
[INFO] [stdout]  13 | struct Cli {
[INFO] [stdout]     | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 109 |     let cli = Cli::parse();
[INFO] [stdout]     |                    ^^^^^ associated function or constant not found in `bindef::Cli`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Parser`
[INFO] [stdout]             candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/bindef.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 writeln!(output, "{}\t{}\t{}\t{}", bin_id, chrom, start, end)?;
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/bindef.rs:98:26
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 writeln!(output, "{}\t{}\t{}\t{}", bin_id, chrom, start, end)?;
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     writeln!(fout, "bin1\tbin2\tscore")?;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     writeln!(fout, "bin1\tbin2\tscore")?;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `bindef::Cli` in the current scope
[INFO] [stdout]    --> src/core/bindef.rs:109:20
[INFO] [stdout]     |
[INFO] [stdout]  13 | struct Cli {
[INFO] [stdout]     | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 109 |     let cli = Cli::parse();
[INFO] [stdout]     |                    ^^^^^ associated function or constant not found in `bindef::Cli`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Parser`
[INFO] [stdout]             candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     writeln!(fout, "bin1\tbin2\tscore")?;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     writeln!(fout, "bin1\tbin2\tscore")?;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `dump_to_sort::Cli` in the current scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:95:20
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `dump_to_sort::Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core/read_and_dump.rs:12:54
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    | ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     for result in BufReader::new(File::open(bin_file)?).lines().skip(1) {
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                      +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core/read_and_dump.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    | ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 |         let line = result?.trim_end();
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/core/dump_to_sort.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/io/mod.rs:1657:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/core/dump_to_sort.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 fout,
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_key` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         if !chr_meta.contains_key(&chrom) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout]    |                      ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/core/read_and_dump.rs:27:44
[INFO] [stdout]    |
[INFO] [stdout] 27 |             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ -----------  ------ unexpected argument #2
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         unexpected argument #1 of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:270:11
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 27 -             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout] 27 +             chr_meta.insert(chrom.clone(), HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `dump_to_sort::Cli` in the current scope
[INFO] [stdout]   --> src/core/dump_to_sort.rs:95:20
[INFO] [stdout]    |
[INFO] [stdout] 81 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `dump_to_sort::Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core/read_and_dump.rs:12:54
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    | ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     for result in BufReader::new(File::open(bin_file)?).lines().skip(1) {
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                      +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/core/read_and_dump.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    | ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 |         let line = result?.trim_end();
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout]    |                      ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/core/read_and_dump.rs:28:44
[INFO] [stdout]    |
[INFO] [stdout] 28 |             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ ----------  --- unexpected argument #2
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         unexpected argument #1 of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:270:11
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 28 -             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout] 28 +             chr_meta.insert(chrom.clone(), HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 30 |             if end > *chr_meta.get(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `ge` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 -             if end > *chr_meta.get(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout] 30 +             if end > *chr_meta.ge(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_key` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         if !chr_meta.contains_key(&chrom) {
[INFO] [stdout]    |                      ^^^^^^^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | /                 chr_meta
[INFO] [stdout] 32 | |                     .get_mut(&chrom)
[INFO] [stdout]    | |                     -^^^^^^^ method not found in `bool`
[INFO] [stdout]    | |_____________________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout]    |                      ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/core/read_and_dump.rs:27:44
[INFO] [stdout]    |
[INFO] [stdout] 27 |             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ -----------  ------ unexpected argument #2
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         unexpected argument #1 of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:270:11
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 27 -             chr_meta.insert(chrom.clone(), HashMap::new("first_bin", bin_id));
[INFO] [stdout] 27 +             chr_meta.insert(chrom.clone(), HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout]    |                      ^^^^^^ method not found in `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/core/read_and_dump.rs:28:44
[INFO] [stdout]    |
[INFO] [stdout] 28 |             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ ----------  --- unexpected argument #2
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         unexpected argument #1 of type `&'static str`
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/collections/hash/map.rs:270:11
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]    |
[INFO] [stdout] 28 -             chr_meta.insert(chrom.clone(), HashMap::new("last_end", end));
[INFO] [stdout] 28 +             chr_meta.insert(chrom.clone(), HashMap::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/read_and_dump.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    |                                     - help: try adding a return type: `-> bool`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     chr_meta
[INFO] [stdout]    |     ^^^^^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 30 |             if end > *chr_meta.get(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `ge` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 -             if end > *chr_meta.get(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout] 30 +             if end > *chr_meta.ge(&chrom).unwrap().get("last_end").unwrap() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `floor` found for type `usize` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ((start + end) / 2).floor() as usize
[INFO] [stdout]    |                         ^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for type `bool` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:32:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | /                 chr_meta
[INFO] [stdout] 32 | |                     .get_mut(&chrom)
[INFO] [stdout]    | |                     -^^^^^^^ method not found in `bool`
[INFO] [stdout]    | |_____________________|
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/read_and_dump.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | /     if mid > *meta.get("last_end").unwrap() {
[INFO] [stdout] 54 | |         None
[INFO] [stdout]    | |         ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout] 55 | |     }
[INFO] [stdout]    | |_____- `if` expressions without `else` arms expect their inner expression to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         return None;
[INFO] [stdout]    |         ++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/read_and_dump.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn load_bin_metadata(bin_file: &str) {
[INFO] [stdout]    |                                     - help: try adding a return type: `-> bool`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     chr_meta
[INFO] [stdout]    |     ^^^^^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `floor` found for type `usize` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let local_index = (mid / 200).floor() as usize;
[INFO] [stdout]    |                                   ^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs_diff` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if abs_diff(mid1, mid2) > max_distance {
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: use the `.` operator to call the method `abs_diff` on `usize`
[INFO] [stdout]     |
[INFO] [stdout] 105 -         if abs_diff(mid1, mid2) > max_distance {
[INFO] [stdout] 105 +         if mid1.abs_diff(mid2) > max_distance {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/read_and_dump.rs:109:54
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut bin1 = midpoint_to_bin(chrom1, mid1, &chr_meta);
[INFO] [stdout]     |                        ---------------               ^^^^^^^^^ expected `&HashMap<String, HashMap<String, usize>>`, found `&()`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&HashMap<std::string::String, HashMap<std::string::String, usize>>`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/core/read_and_dump.rs:46:4
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn midpoint_to_bin(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     chr_meta: &HashMap<String, HashMap<String, usize>>,
[INFO] [stdout]     |     --------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/read_and_dump.rs:110:54
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut bin2 = midpoint_to_bin(chrom2, mid2, &chr_meta);
[INFO] [stdout]     |                        ---------------               ^^^^^^^^^ expected `&HashMap<String, HashMap<String, usize>>`, found `&()`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&HashMap<std::string::String, HashMap<std::string::String, usize>>`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/core/read_and_dump.rs:46:4
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn midpoint_to_bin(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     chr_meta: &HashMap<String, HashMap<String, usize>>,
[INFO] [stdout]     |     --------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `floor` found for type `usize` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ((start + end) / 2).floor() as usize
[INFO] [stdout]    |                         ^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/read_and_dump.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | /     if mid > *meta.get("last_end").unwrap() {
[INFO] [stdout] 54 | |         None
[INFO] [stdout]    | |         ^^^^ expected `()`, found `Option<_>`
[INFO] [stdout] 55 | |     }
[INFO] [stdout]    | |_____- `if` expressions without `else` arms expect their inner expression to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Option<_>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         return None;
[INFO] [stdout]    |         ++++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `read_and_dump::Cli` in the current scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:138:20
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Cli {
[INFO] [stdout]     | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |     let cli = Cli::parse();
[INFO] [stdout]     |                    ^^^^^ associated function or constant not found in `read_and_dump::Cli`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Parser`
[INFO] [stdout]             candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `floor` found for type `usize` in the current scope
[INFO] [stdout]   --> src/core/read_and_dump.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let local_index = (mid / 200).floor() as usize;
[INFO] [stdout]    |                                   ^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `abs_diff` in this scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if abs_diff(mid1, mid2) > max_distance {
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: use the `.` operator to call the method `abs_diff` on `usize`
[INFO] [stdout]     |
[INFO] [stdout] 105 -         if abs_diff(mid1, mid2) > max_distance {
[INFO] [stdout] 105 +         if mid1.abs_diff(mid2) > max_distance {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/read_and_dump.rs:109:54
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut bin1 = midpoint_to_bin(chrom1, mid1, &chr_meta);
[INFO] [stdout]     |                        ---------------               ^^^^^^^^^ expected `&HashMap<String, HashMap<String, usize>>`, found `&()`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&HashMap<std::string::String, HashMap<std::string::String, usize>>`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/core/read_and_dump.rs:46:4
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn midpoint_to_bin(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     chr_meta: &HashMap<String, HashMap<String, usize>>,
[INFO] [stdout]     |     --------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/main.rs:32:49
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 |             std::fs::create_dir_all(&cli.tmpdir)?;
[INFO] [stdout]    |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 24 |     let cli = Cli::parse();
[INFO] [stdout] ...
[INFO] [stdout] 59 |     );
[INFO] [stdout] 60 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/read_and_dump.rs:110:54
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut bin2 = midpoint_to_bin(chrom2, mid2, &chr_meta);
[INFO] [stdout]     |                        ---------------               ^^^^^^^^^ expected `&HashMap<String, HashMap<String, usize>>`, found `&()`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&HashMap<std::string::String, HashMap<std::string::String, usize>>`
[INFO] [stdout]                found reference `&()`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/core/read_and_dump.rs:46:4
[INFO] [stdout]     |
[INFO] [stdout]  46 | fn midpoint_to_bin(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     chr_meta: &HashMap<String, HashMap<String, usize>>,
[INFO] [stdout]     |     --------------------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `read_and_dump::Cli` in the current scope
[INFO] [stdout]    --> src/core/read_and_dump.rs:138:20
[INFO] [stdout]     |
[INFO] [stdout] 129 | struct Cli {
[INFO] [stdout]     | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |     let cli = Cli::parse();
[INFO] [stdout]     |                    ^^^^^ associated function or constant not found in `read_and_dump::Cli`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Parser`
[INFO] [stdout]             candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0423, E0425, E0432, E0433, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Cli {
[INFO] [stdout]    | ---------- associated function or constant `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     let cli = Cli::parse();
[INFO] [stdout]    |                    ^^^^^ associated function or constant not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/main.rs:32:49
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 |             std::fs::create_dir_all(&cli.tmpdir)?;
[INFO] [stdout]    |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 23 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 24 |     let cli = Cli::parse();
[INFO] [stdout] ...
[INFO] [stdout] 59 |     );
[INFO] [stdout] 60 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hic-200-rs` (bin "hic-200-rs" test) due to 78 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0423, E0425, E0432, E0433, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hic-200-rs` (bin "hic-200-rs") due to 78 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0", kill_on_drop: false }`
[INFO] [stdout] 9ad79d149afc439b36ea3013f638acc067b7fd346e574b47ebbd85452cf858e0
